{% extends "base.jinja" %}

{% block title %}系统通知详情_{% endblock %}

{% block css %},notice.css{% endblock %}

{% block main %}
<div class="page" id="notice-main">
	<div class="nm-nav">
		<h3>消息</h3>
		<ul>
			<li>
				<a href="/u/message/">系统通知{% if total_count %}
					<b>{{total_count}}</b>{% endif %}
				</a>
			</li>
		</ul>
	</div>
	<div class="nm-main">
		<ul class="nm-item nm-detail">
			<li>
				<div class="nm-back"><a href="/u/message/">返回</a></div>
				<div class="nmi-avatar">
					<img src="http://s.lovewith.me/static/images/notice-system.gif" />
				</div>
				<div class="nmi-main">
					<div class="nmd-content">{% autoescape off %}{{notice_data.content|replace('[b]', '<b>')|replace('[/b]', '</b>')}}{% endautoescape %}</div>
					<span>{{notice_data.notice_date|date('Y-m-d H:i:s')}}</span>
				</div>
				<a href="javascript:;" class="ui nmi-del" data-nid="{{notice_data.id}}" title="删除"></a>
			</li>
		</ul>
	</div>
</div>
{% endblock %}

{% block script %}
<script>seajs.use('page/notice', function(p){p.render()});</script>
{% endblock %}
